package com.whty.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whty.common.base.BaseEntity;
import java.util.Date;

/**
 * 标签表 gh_tag_info
 * 
 * @author mario
 * @date 2018-10-31
 */
public class TagInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 标签序列号 */
	private String tagQuence;
	/** 溯源码 */
	private String productCode;
	/** 生产企业名称 */
	private String companyName;
	/** 产品名称 */
	private String productName;
	/** 原料来源 */
	private String materialSource;
	/** 加工工艺 */
	private String processTech;
	/** 生产日期 */
	private String productDate;
	/** 批次号 */
	private String batchNo;
	/** 产品等级 */
	private String productRank;
	/** 保质期 */
	private String expiredDate;
	/** 产品质量认证编号 */
	private String productCertNum;
	/** 生产信息校验码 */
	private String proCheckCode;
	/** 经销商名称 */
	private String dealerName;
	/** 销售时间 */
	private String saleTime;
	/** 销售信息校验码 */
	private String saleCheckCode;
	/** 镜像 */
	private String readCounter;
	/** cmac */
	private String cmac;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remarks;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setTagQuence(String tagQuence) 
	{
		this.tagQuence = tagQuence;
	}

	public String getTagQuence() 
	{
		return tagQuence;
	}
	public void setProductCode(String productCode) 
	{
		this.productCode = productCode;
	}

	public String getProductCode() 
	{
		return productCode;
	}
	public void setCompanyName(String companyName) 
	{
		this.companyName = companyName;
	}

	public String getCompanyName() 
	{
		return companyName;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setMaterialSource(String materialSource) 
	{
		this.materialSource = materialSource;
	}

	public String getMaterialSource() 
	{
		return materialSource;
	}
	public void setProcessTech(String processTech) 
	{
		this.processTech = processTech;
	}

	public String getProcessTech() 
	{
		return processTech;
	}
	public void setProductDate(String productDate) 
	{
		this.productDate = productDate;
	}

	public String getProductDate() 
	{
		return productDate;
	}
	public void setBatchNo(String batchNo) 
	{
		this.batchNo = batchNo;
	}

	public String getBatchNo() 
	{
		return batchNo;
	}
	public void setProductRank(String productRank) 
	{
		this.productRank = productRank;
	}

	public String getProductRank() 
	{
		return productRank;
	}
	public void setExpiredDate(String expiredDate) 
	{
		this.expiredDate = expiredDate;
	}

	public String getExpiredDate() 
	{
		return expiredDate;
	}
	public void setProductCertNum(String productCertNum) 
	{
		this.productCertNum = productCertNum;
	}

	public String getProductCertNum() 
	{
		return productCertNum;
	}
	public void setProCheckCode(String proCheckCode) 
	{
		this.proCheckCode = proCheckCode;
	}

	public String getProCheckCode() 
	{
		return proCheckCode;
	}
	public void setDealerName(String dealerName) 
	{
		this.dealerName = dealerName;
	}

	public String getDealerName() 
	{
		return dealerName;
	}
	public void setSaleTime(String saleTime) 
	{
		this.saleTime = saleTime;
	}

	public String getSaleTime() 
	{
		return saleTime;
	}
	public void setSaleCheckCode(String saleCheckCode) 
	{
		this.saleCheckCode = saleCheckCode;
	}

	public String getSaleCheckCode() 
	{
		return saleCheckCode;
	}
	public void setReadCounter(String readCounter) 
	{
		this.readCounter = readCounter;
	}

	public String getReadCounter() 
	{
		return readCounter;
	}
	public void setCmac(String cmac) 
	{
		this.cmac = cmac;
	}

	public String getCmac() 
	{
		return cmac;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}

	public String getRemarks() 
	{
		return remarks;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagQuence", getTagQuence())
            .append("productCode", getProductCode())
            .append("companyName", getCompanyName())
            .append("productName", getProductName())
            .append("materialSource", getMaterialSource())
            .append("processTech", getProcessTech())
            .append("productDate", getProductDate())
            .append("batchNo", getBatchNo())
            .append("productRank", getProductRank())
            .append("expiredDate", getExpiredDate())
            .append("productCertNum", getProductCertNum())
            .append("proCheckCode", getProCheckCode())
            .append("dealerName", getDealerName())
            .append("saleTime", getSaleTime())
            .append("saleCheckCode", getSaleCheckCode())
            .append("readCounter", getReadCounter())
            .append("cmac", getCmac())
            .append("updateTime", getUpdateTime())
            .append("remarks", getRemarks())
            .toString();
    }
}
